GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 36194c...3c18d9 )
by Benjamin
01:42
created

menu.js ➔ menu   B

Complexity

Conditions 5
Paths 4

Size

Total Lines 27

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 5
c 1
b 0
f 0
nc 4
dl 0
loc 27
rs 8.439
nop 2
1
import { fromJS } from 'immutable';
2
3
import {
4
    SHOW_MENU,
5
    HIDE_MENU
6
} from '../../../constants/ActionTypes';
7
8
import { generateLastUpdate } from './../../../util/lastUpdate';
9
10
import
11
    handleActions
12
from './../../../util/handleActions';
13
14
import {
15
    showMenu,
16
    hideMenu
17
} from './../../actionHelpers/plugins/menu';
18
19
const initialState = fromJS({ lastUpdate: generateLastUpdate() });
20
21
export default handleActions({
22
    [SHOW_MENU]: showMenu,
23
    [HIDE_MENU]: hideMenu
24
}, initialState);
25